package Interface.src;

public class Main {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.driver();
        s1.sing();
        s1.say();

        Person p1 = new Student();
        p1.say();

        Driver d1 = new Student();
        d1.driver();

        Singer si1 = new Student();
        si1.sing();

    }
}
class Student extends Person implements Singer ,Driver{

    @Override
    public void driver() {

    }

    @Override
    public void sing() {

    }

}

class Person{
    public void say(){};
}

interface Singer{
    void sing();
}

interface Driver{
    void driver();
}